<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- template CSS main -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/layout.css" media="screen, projection" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->
	<script type="text/javascript"	src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.slidepanel.setup.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/script.js"></script>
	<!--<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.cycle.setup.js"></script>-->
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>
<!-- Big Login Slide Begin Here -->
<!-- Paul Hardcastle - Valley of the Kings -->
<!-- ####################################################################################################### -->
<div class="wrapper col0">
  <div id="topbar">
	<div id="slidepanel">
	  <div class="topbox">
		<h2>Nullamlacus dui ipsum</h2>
		<p>Nullamlacus dui ipsum conseque loborttis non euisque morbi penas dapibulum orna. Urnaultrices quis curabitur phasellentesque congue magnis vestibulum quismodo nulla et feugiat. Adipisciniapellentum leo ut consequam ris felit elit id nibh sociis malesuada.</p>
		<p class="readmore"><a href="#">Continue Reading &raquo;</a></p>
	  </div>
	  <div class="topbox">
		<h2>Teachers Login Here</h2>
		<form action="#" method="post">
		  <fieldset>
			<legend>Teachers Login Form</legend>
			<label for="teachername">Username:
			  <input type="text" name="teachername" id="teachername" value="" />
			</label>
			<label for="teacherpass">Password:
			  <input type="password" name="teacherpass" id="teacherpass" value="" />
			</label>
			<label for="teacherremember">
			  <input class="checkbox" type="checkbox" name="teacherremember" id="teacherremember" checked="checked" />
			  Remember me</label>
			<p>
			  <input type="submit" name="teacherlogin" id="teacherlogin" value="Login" />
			  &nbsp;
			  <input type="reset" name="teacherreset" id="teacherreset" value="Reset" />
			</p>
		  </fieldset>
		</form>
	  </div>
	  <div class="topbox last">
		<h2>Pupils Login Here</h2>
		<?php  $this->widget('application.components.LoginWiget');  ?>
	  </div>
	  <br class="clear" />
	</div>
	<div id="loginpanel">
	<?php  if (Yii::app()->user->isGuest) { ?>
	  <ul>
		<li class="left">Log In Here &raquo;</li>
		<li class="right" id="toggle"><a id="slideit" href="#slidepanel">Войти</a><a id="closeit" style="display: none;" href="#slidepanel">Close Panel</a></li>
	  </ul>	  
	  <?php } else { ?>
		<ul>
			<li class="left">Log In Here &raquo;</li>
			<li class="right" id="toggle"><a  href="/site/logout">Выйти</a></li>
		</ul>

<?php }?>
	</div>
	<br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<!-- Big Login Slide End -->

<!-- Logo & Menu Part  -->
<div class="wrapper col1">
  <div id="header">
	<div id="logo">
	  <h1><a href="#">Региональный Центр</a></h1>
	  <p>прогнозирования и содействия трудоустройсва выпускников</p>
	</div>

	<div id="topnav">
	  <ul>
		<li class="active"><a href="/">Главная</a></li>
		<li><a href="/news/">Новости</a></li>
		<li><a href="/Post/">Статьи</a></li>
		<li><a href="/Cv/">Резюме</a></li>
		<li><a href="/vacancy/">Вакансии</a></li>
		<li><a href="#">Link Text</a></li>
		<li><a href="#">Link Text</a></li>
		<?php
		if (Yii::app()->user->isGuest)
		{
			echo "<li class='last'><a href=/site/registration>Зарегестрироваться</a></li>";

		}
		else
		{
			echo "<li class='last'><a href='/userpage'>Личный кабиент</a></li>";
		}

		?>
	  </ul>
	</div>
	<br class="clear" />
  </div>
</div>


	<?php /* $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->breadcrumbs,
	)); */?><!-- breadcrumbs -->

	<?php echo $content; ?>

<!-- Footer Begin Here -->	
<!-- ####################################################################################################### -->
<div class="wrapper col4">
  <div id="footer">
	<div class="footbox">
	  <h2>Lacus interdum</h2>
	  <ul>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li><a href="#">Praesent et eros</a></li>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li class="last"><a href="#">Praesent et eros</a></li>
	  </ul>
	</div>
	<div class="footbox">
	  <h2>Lacus interdum</h2>
	  <ul>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li><a href="#">Praesent et eros</a></li>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li class="last"><a href="#">Praesent et eros</a></li>
	  </ul>
	</div>
	<div class="footbox">
	  <h2>Lacus interdum</h2>
	  <ul>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li><a href="#">Praesent et eros</a></li>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li class="last"><a href="#">Praesent et eros</a></li>
	  </ul>
	</div>
	<div class="footbox">
	  <h2>Lacus interdum</h2>
	  <ul>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li><a href="#">Praesent et eros</a></li>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li class="last"><a href="#">Praesent et eros</a></li>
	  </ul>
	</div>
	<div class="footbox last">
	  <h2>Lacus interdum</h2>
	  <ul>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li><a href="#">Praesent et eros</a></li>
		<li><a href="#">Lorem ipsum dolor</a></li>
		<li><a href="#">Suspendisse in neque</a></li>
		<li class="last"><a href="#">Praesent et eros</a></li>
	  </ul>
	</div>
	<br class="clear" />
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper col5">
  <div id="copyright">
	<p class="fl_left">Copyright &copy; <?php echo date('Y'); ?> by <a href="#">My Company.</a> - All Rights Reserved</p>
	<p class="fl_right"><?php echo Yii::powered(); ?></p>

	<!-- <p class="fl_right">Template by <a href="http://www.os-templates.com/" title="Open Source Templates">OS Templates</a></p>-->

	<br class="clear" />
  </div>
</div>
<!-- This is all Footer end HERE -->

<!-- </div> page -->

</body>
</html>
